"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const mine_1 = require("./scripts/mine");
const wallet_1 = require("./scripts/wallet");
commander_1.program
    .command("wallet")
    .description("wallet options")
    .option("-t,--target <address>", "show target address info")
    .option("-a,--all", "show all wallet accounts")
    .option("-c,--create", "Create a new wallet account")
    .option("-s,--set <privateKey>", "Setting up an account that already exists")
    .action(async (args) => {
    (0, wallet_1.runWallet)(args);
});
commander_1.program
    .command("mine <tick>")
    .description("Perform Ethernet IERC POW Mining")
    .option("-a, --account <account>", "Provide your mining address")
    .action((tick, options) => {
    console.log('tick', tick);
    console.log('options', options);
    (0, mine_1.runMine)(tick, options);
});
commander_1.program.parse(process.argv);
